<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib uri="/struts-tags" prefix="s"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<base href="<%=basePath%>" >
</head>
<body>
	<script type="text/javascript" src="<%=basePath%>scripts/system/depart/list.js"></script>
	
	<div class="easyui-layout" fit="true">
	
		<div region="north" border="false" class="borsty-b">
			<div id="dDepartPanel">
				<a id="addDepartBtn" href="javascript:void(0);" class="easyui-linkbutton" onclick="openDepartWindow('add')">增加</a>
				<a id="editDepartBtn" href="javascript:void(0);" class="easyui-linkbutton" onclick="openDepartWindow('edit')">编辑</a>
				<a id="delDepartBtn" href="javascript:void(0);" class="easyui-linkbutton" onclick="openDepartWindow('del')">删除</a>
				<a id="closeDepartBtn" href="javascript:void(0);" class="easyui-linkbutton" onclick="curTabClose()">关闭</a>
				
				
			</div>
		</div>
	
		<div region="center" border="false">
			<div id="dDepartTreeGrid" fit="true"></div>
		</div>
	</div>

	<div id="dDepartWindow">
	<table border="0" width="100%" align="center" cellpadding="5px" cellspacing="5px">
			<tr>
				<td>名称：</td>
				<td><input id="departName" name="departName" type="text" style="width:200px;" /></td>
			</tr>
			<tr>
				<td>代码：</td>
				<td><input id="departCode" name="departCode" type="text" style="width:200px;" /></td>
			</tr>
			<tr>
				<td>描述：</td>
				<td><input id="departDes" name="departDes" type="text" style="width:200px;" /></td>
			</tr>
			<tr>
				<td colspan="2" align="center">
				<input id="departMethodName" name="methodName" type="hidden" />
				<input id="submitDepartButton" name="submitDepartButton" type="button" style="width:80px; height:30px;" onclick="submitDepart()" />
				</td>
			</tr>
		</table>
	</div>
</body>
</html>